package com.wdd.libbase.di

import android.app.Application
import android.content.Context
import dagger.Module
import dagger.Provides

/**
 * @ProjectName: Tools
 * @Package: com.wdd.tool.di
 * @ClassName: AppComponent
 * @Description: 设置全局常量
 * @Author: 王丹丹
 * @CreateDate: 2019/6/26 13:18
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/6/26 13:18
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Module
class ApplicationModule {
    @Provides
    fun bindContext(application: Application?): Context {
        return application!!
    }
}